<h2>Delete Post</h2>

<p>
  Are you sure you want to permanently delete the following blog post?
</p>

<%= Thoth::PostController.render_view(:compact, :post => @post) %>

<form action="<%= Thoth::PostController.r(:delete, @post.id) %>" method="post">
  <p>
    <input type="hidden" name="token" value="<%== form_token %>" />
    <button name="confirm" value="yes">Yes, delete this blog post forever</button>
    <button name="confirm" value="no">No, do not delete this blog post</button>
  </p>
</form>
